import Layout from '@/layout'
const applicationForm = {
  path: '/applicationForm',
  component: Layout,
  meta: {
    icon: 'el-icon-orange',
    title: '发货申请单',
    roles: ['f01'],
    amountText: 'delivery_apply'
  },
  children: [
    {
      path: '',
      component: () => import('@/views/applicationForm/Index'),
      name: 'applicationForm',
      meta: {
        keepAlive: true,
        title: '发货申请单',
        roles: ['f01'],
        amountText: 'delivery_apply'
      }
    },
    {
      path: 'shipDetail/:id',
      component: () => import('@/views/applicationForm/shipDetail'),
      name: 'shipDetail',
      hidden: true,
      meta: {
        title: '发货申请单详情',
        icon: 'el-icon-s-data',
        roles: ['f01_01']
      }
    }
  ]
}

export default applicationForm
